package com.hongchen.model.base;

import com.realdtech.base.ModelSupport;
import com.jfinal.plugin.activerecord.IBean;

/**
 * 该类是根据数据库自动生成的，请不要修改！
 */
@SuppressWarnings("serial")
public abstract class BaseRegion<M extends BaseRegion<M>> extends ModelSupport<M> implements IBean {

	/**
	 * Region对应的数据库表名
	 **/
	public static final String TABLE_NAME = "region";

	public void setId(java.lang.Long id) {
		set("id", id);
	}

	public java.lang.Long getId() {
		return get("id");
	}

	public void setPid(java.lang.Long pid) {
		set("pid", pid);
	}

	public java.lang.Long getPid() {
		return get("pid");
	}

	public void setRegion(java.lang.String region) {
		set("region", region);
	}

	public java.lang.String getRegion() {
		return get("region");
	}

	public void setLevel(java.lang.Boolean level) {
		set("level", level);
	}

	public java.lang.Boolean getLevel() {
		return get("level");
	}

}
